package com.threeti.mecool.core.domain.model.sellinto;

import java.io.Serializable;

import javax.persistence.Embeddable;

/** 促销员 */
@Embeddable
public class SalesPromoter implements Serializable {
  private String name;
  private String phone;
  private String idCardNo;
  
  private String onDutyTime;
  private String offTime;
  
  public SalesPromoter(String name, String phone, String idCardNo, String onDutyTime, String offTime) {
    super();
    this.name = name;
    this.phone = phone;
    this.idCardNo = idCardNo;
    this.onDutyTime = onDutyTime;
    this.offTime = offTime;
  }

  /** 取得促销员姓名 */
  public String getName() {
    return name;
  }

  /** 取得促销员电话 */
  public String getPhone() {
    return phone;
  }

  /** 取得促销员身份证号 */
  public String getIdCardNo() {
    return idCardNo;
  }

  /** 取得促销员上班时间 */
  public String getOnDutyTime() {
    return onDutyTime;
  }

  /** 取得促销员下班时间 */
  public String getOffTime() {
    return offTime;
  }

  @Override
  public String toString() {
    return "SalesPromoter [name=" + name + ", phone=" + phone + ", idCardNo=" + idCardNo + ", onDutyTime=" + onDutyTime
        + ", offTime=" + offTime + "]";
  }

  SalesPromoter() {
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public void setIdCardNo(String idCardNo) {
    this.idCardNo = idCardNo;
  }

  public void setOnDutyTime(String onDutyTime) {
    this.onDutyTime = onDutyTime;
  }

  public void setOffTime(String offTime) {
    this.offTime = offTime;
  }
  
  
}
